package com.want.buss.interfaces.service.impl;

import java.util.List;

import javax.jws.WebService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.fastjson.JSON;
import com.want.buss.interfaces.aop.OperLog;
import com.want.buss.interfaces.mapper65.YyProductMapper;
import com.want.buss.interfaces.po.GroupCode;
import com.want.buss.interfaces.po.YyProduct;
import com.want.buss.interfaces.service.IYyProductService;
import com.want.buss.interfaces.utils.ResultVoUtils;
import com.want.buss.interfaces.vo.ResultVo;

@WebService
public class YyProductServiceImpl implements IYyProductService{
	private  final Logger logger = LoggerFactory.getLogger(this.getClass());

	@Autowired
	YyProductMapper yyProductMapper;
    @OperLog(operName = "queryYyProduct",operDesc = "查询产品编码信息")
	public String queryYyProduct(String barCode) {
    	List list = yyProductMapper.queryYyProduct(barCode);
    	return JSON.toJSONString(list);
	}
	
}
